package com.zgscwjm.taobaphelper.data;

import org.apache.commons.codec.binary.Hex;

/**
 * Created by zgscwjm on 17-3-6.
 * 对应原来的b类
 */

public final class DecodeHex {
    public static byte[] getDecodeHex(String str){
        try{
            return Hex.decodeHex(str.toCharArray());
        }catch (Throwable e){
            throw new RuntimeException(e);
        }
    }
}
